home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / tool-inc.zip / FTOA.INC < prev    next >
Text File  |  1989-06-02  |  573b  |  27 lines

  1.  
  2. (*
  3.  * Copyright 1987, 1989 Samuel H. Smith;  All rights reserved
  4.  *
  5.  * This is a component of the ProDoor System.
  6.  * Do not distribute modified versions without my permission.
  7.  * Do not remove or alter this notice or any other copyright notice.
  8.  * If you use this in your own program you must distribute source code.
  9.  * Do not use any of this in a commercial product.
  10.  *
  11.  *)
  12.  
  13. (*
  14.  * convert floating to ascii
  15.  *
  16.  *)
  17.  
  18. function ftoa(f: real; width,dec: integer): string20;
  19. var
  20.    buf: string20;
  21. begin
  22.    str(f:width:dec,buf);
  23.    ftoa := buf;
  24. end;
  25.  
  26.  
  27.